package com.fa4j.common.base.exception;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 服务相关错误
 */
@Getter
@AllArgsConstructor
public enum CommonServerError implements ServerErrorType {

    INTERNAL_SERVER_ERROR(500, "系统正忙，请稍后再试"),
    NOT_IMPLEMENTED(501, "{0}功能未实现"),
    NOT_SETTING(501, "{0}未配置"),
    NOT_SUPPORT(501, "不支持的{0}"),


    ;

    private final Integer errCode;
    private final String errMsg;

}
